package com.loopdependencybean;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

/**
 * @author 罗俊华
 * @since 2023/10/29 08:57
 */
@Aspect
@Slf4j
public class AopConfig {


    @Before("execution(void com.loopdependencybean.Bean1.addUser())")
    public void before(){
      log.debug("前置通知....");
    }

}
